package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：yuanjian
 * @date ：Created in 2020/11/17 16:51
 * @description：
 */
@Data
@TableName("t_order")
public class Order implements Serializable {

    public static final String ORDERTYPE_TELEPHONE = "电话预约";
    public static final String ORDERTYPE_WEIXIN = "微信预约";

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;            //id
    private Date orderDate;     //预约日期
    private String orderNo;     //订单流水号
    private String orderType;   //预约类型 电话预约/微信预约
    private Integer payStatus; //支付状态(0-未支付,1-已支付)
    private Long memberId;     //会员id
    private Long setmealId;     //体检套餐id
}
